package com.newecoer.kit;

import javax.servlet.http.HttpServletRequest;


public class AJAX {
	public static boolean isAjax(HttpServletRequest request){
	    return  (request.getHeader("X-Requested-With") != null  && "XMLHttpRequest".equals( request.getHeader("X-Requested-With").toString())   ) ;
	}
}
